Information processing apparatus, control method for information processing apparatus, and program

ABSTRACT

An information processing apparatus is provided and includes a display unit which displays an operation screen. The information processing apparatus controls whether or not to receive setting for a first application from a different apparatus and use the received setting for the first application, in accordance with a type of a screen being displayed on the display unit.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a continuation application of U.S. patentapplication Ser. No. 15/347,221 filed on Dec. 9, 2016 which claims thebenefit of Japanese Patent Application No. 2015-242193, filed Dec. 11,2015, each of which are hereby incorporated by reference herein in itsentirety.

BACKGROUND OF THE INVENTION Field of the Invention

The present invention relates to a technique for starting an applicationin response to reception of setting information from an externalapparatus.

Description of the Related Art

In recent years, multifunction peripherals (MFPs) including a scannerfunction, a print function, a copy function, and the like have beendeveloped. In accordance with the development of MFPs, MFPs including aFAX transmission and reception function or a SEND function for attachingan original image obtained by reading an original document to an email(hereinafter, simply referred to as a mail) and transmitting the mailincluding the original image attached thereto have emerged. In the SENDtransmission function, a destination of a mail may be set when a userspecifies an address registered in an address book of an MFP or directlyinputs an address using an operation panel of the MFP. Furthermore, inrecent years, the need to use data in a mobile terminal for business hasincreased, and a function which allows cooperation between an MFP and amobile terminal has emerged.

A function which allows, by cooperation between an MFP and a mobileterminal, for example, a destination held in the mobile terminal to beregistered to the MFP as a destination to be used in a SEND transmissionfunction of the MFP may be considered. A technique is disclosed inJapanese Patent Laid-Open No. 2009-65308 in which when a startupapplication receives an event, an associated application is started.With the technique disclosed in Japanese Patent Laid-Open No.2009-65308, at registration of a destination held in a mobile terminalwith an MFP, an application for executing a SEND transmission functionmay be started.

SUMMARY OF THE INVENTION

There may be an environment such as an MFP in which only one applicationfor which a user performs certain setting may be started. In such acase, if a startup application starts a startup target application,setting for another running application may be rejected against theintension of a user.

In one embodiment, an information processing apparatus includes adisplay unit, a memory device that stores a set of instructions; and atleast one processor that executes the instructions. Upon execution ofthe instructions, the at least one processor controls whether or not toreceive setting for a first application from a different apparatus anduse the received setting for the first application, in accordance with atype of a screen being displayed on the display unit.

Further features of the present invention will become apparent from thefollowing description of exemplary embodiments with reference to theattached drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram illustrating a system configuration including amobile terminal apparatus and an MFP according to an embodiment.

FIG. 2 is a block diagram illustrating a configuration of an MFPaccording to an embodiment.

FIG. 3 is a block diagram illustrating a configuration of a mobileterminal according to an embodiment.

FIG. 4 is a diagram illustrating a mobile application setting screen ofa mobile terminal according to an embodiment.

FIG. 5 is a diagram illustrating a screen of a mail transmissionapplication of an MFP according to an embodiment.

FIG. 6 is a flowchart illustrating an example of a process of an MFPaccording to an embodiment.

FIG. 7 is a diagram illustrating a screen of a mail transmissionapplication of an MFP according to an embodiment.

FIG. 8 is a diagram illustrating a screen of an application of a mainmenu of an MFP according to an embodiment.

FIG. 9 is a diagram illustrating a screen for performing transmissionsetting of an MFP according to an embodiment.

FIG. 10 is a diagram illustrating an example of a screen of a copyapplication of an MFP according to an embodiment.

DESCRIPTION OF THE EMBODIMENTS

Hereinafter, embodiments of the present invention will be described withreference to drawings.

First Embodiment

FIG. 1 is a diagram illustrating an example of a system configurationapplied in a first embodiment. A system according to the firstembodiment includes a mobile terminal 101, an MFP 102, and an accesspoint 103. The mobile terminal 101, the MFP 102, and the access point103 may communicate with one another via corresponding communicationmedia. The configuration illustrated in FIG. 1 is merely an example ofgeneral configuration. A mobile terminal used by a general user may be adifferent information apparatus. Furthermore, the MFP having theconfiguration illustrated in FIG. 1 does not necessarily include theabove-mentioned configuration and may have any form as long as itincludes a SEND transmission function. Moreover, an MFP is notnecessarily provided. Any form is possible as long as the apparatus isan information processing apparatus including a function for performingmail transmission of data obtained using a function provided in theapparatus.

FIG. 2 is a diagram illustrating an example of an inner configuration ofthe MFP 102 according to the first embodiment. The MFP 102 includes acentral processing unit (CPU) 201 which executes software stored in aread only memory (ROM) 202 or, for example, in a hard disk drive (HDD)213. The CPU 201 performs overall control of individual devicesconnected to a system bus 216. The HDD 213 may be used as a temporarystorage location for images.

The RAM 203 functions as a main memory, a work area, and the like of theCPU 201. An operation unit controller 208 controls user interfaces suchas various buttons, an operation panel 209, a display 211, and the likeprovided in the MFP 102. A disk controller 212 controls the HDD 213.

A network interface (I/F) 207 exchanges data with a different networkapparatus, a file server, or the like via a network 220 in abi-directional manner.

For operation in an infrastructure mode, a wireless communication module206 is connected to the network 220 via the access point 103, andexchanges data with a different network apparatus such as the mobileterminal 101, a file server, or the like in a bi-directional manner. Foroperation in a software access point (AP) mode, the MFP 102 may beconfigured to operate as an access point and establish Wi-Fi directconnection with a mobile terminal.

A printer 214 is a print unit implemented in an electrophotographicmethod for printing on paper. Printing may be implemented in theelectrophotographic method, an inkjet method, or other methods.

A scanner 215 is an image reading unit for reading an image printed onpaper. In many cases, an auto document feeder (ADF), which is notillustrated in FIG. 2, is optionally mounted on the scanner 215.Therefore, a plurality of pages of original documents may beautomatically read.

The MFP 102 may also transmit and receive data to and from variousperipheral apparatuses including the mobile terminal 101 via an NFCreader/writer 204 or a Bluetooth® IF 205.

Next, a hardware configuration of the mobile terminal 101 will beexplained with reference to FIG. 3. The mobile terminal 101 in the firstembodiment is assumed as a terminal apparatus such as a smartphone or atablet PC. However, the present invention is not limited to this. Anyform is possible as long as the apparatus is an information processingapparatus including a function for communicating with other apparatuses.

A CPU 307 performs various processes for reading a control programstored in a ROM 308 and controlling an operation of the mobile terminal101. The ROM 308 stores the control program. A RAM 309 is used as a mainmemory and a temporary storage area such as a work area of the CPU 307.An HDD 310 stores various data such as photographs and electronicdocuments.

An operation panel 301 includes a touch panel function which may detecta touch operation of a user. The operation panel 301 is a user interfacewhich displays various screens provided by an operating system (OS) or amail transmission application. By inputting a touch operation on theoperation panel 301, a user is able to input a desired operatinginstruction to the mobile terminal 101. The mobile terminal 101 mayinclude a hardware key. A user may input an operating instruction to themobile terminal 101 using the hardware key.

A speaker 302 and a microphone 303 are used by a user to talk with aperson on a different mobile terminal or a fixed telephone. A camera 304captures an image in accordance with an image capturing instruction froma user. A photograph taken by the camera 304 is stored in apredetermined region of the HDD 310.

The mobile terminal 101 may transmit and receive data to and fromvarious peripheral apparatuses including the MFP 102 via an NFCcommunication I/F 305, a Bluetooth I/F 306, or a wireless LANcommunication I/F 311.

Next, cooperation between the mobile terminal 101 and the MFP 102 willbe described. In the first embodiment, the mobile terminal 101 exchangesinformation by performing wireless communication with the MFP 102. Thatis, the mobile terminal 101 transmits transmission setting informationindicating transmission setting for a destination and the like to theMFP 102 through wireless communication. Hereinafter, an operation of themobile terminal 101 for identifying the MFP 102 as a communicationpartner on a wireless network and establishing connection will bereferred to as pairing. To perform pairing, the mobile terminal 101needs to acquire Wi-Fi connection information of a desired MFP 102.Regarding the Wi-Fi connection information, for example, in the case ofWi-Fi direct connection, information of an SSID of the MFP 102 operatingas a soft access point and a KEY for connection to a network identifiedby the SSID is required. In the case of an infrastructure mode, themobile terminal 101 and the MFP 102 are connected to a network withinthe same access point, and therefore, for example, an IP address of theMFP 102 is required. The mobile terminal 101 may acquire informationnecessary for performing pairing from the MFP 102 in various methods.For example, the mobile terminal 101 may acquire Wi-Fi connectioninformation from a two-dimensional code displayed on the MFP 102 oracquire Wi-Fi connection information through NFC communication bytouching the NFC reader/writer 204 of the MFP 102. Alternatively, themobile terminal 101 may acquire Wi-Fi connection information byperforming Bluetooth low energy (BLE) communication with the BluetoothI/F 205 of the MFP 102. Furthermore, the mobile terminal 101 maydirectly perform data transmission of a destination and the like to theMFP 102 with which Wi-Fi connection has already been established andpairing has been performed, without performing an operation of atwo-dimensional code or the like.

The mobile terminal 101 may register transmission setting including adestination and the like of mail transmission with the MFP 102, withwhich pairing has been performed or pairing is to be performed. That is,transmission setting information is transmitted from the mobile terminal101 to the MFP 102 through wireless communication, and upon reception ofthe transmission setting information, the MFP 102 performs processingfor causing the transmission setting to be reflected in the destinationand the like to be used for the SEND transmission function. Hereinafter,an application for executing a SEND transmission function will be simplyreferred to as a mail transmission application. The mail transmissionapplication is, for example, an application in which the MFP 102attaches to a mail an original image obtained by reading an originaldocument with the scanner 215 of the MFP 102 and transmits the mailincluding the original image attached thereto.

Next, setting items set by the mobile terminal 101 for mail transmissionto be used for transmission setting for a transmission application ofthe MFP 102 will be explained with reference to FIG. 4. FIG. 4 is adiagram illustrating an example of a screen in which a user inputssetting items for mail transmission in an application on a mobileterminal side which corresponds to a transmission application of the MFP102.

A user inputs information necessary for mail transmission on a settingscreen 406 for mail transmission of the mobile terminal 101. In a mailaddress field 401, an address in an address book stored in the mobileterminal 101 may be selected and input. A user may input a desiredcharacter string, using a soft keyboard of the mobile terminal 101, tothe mail address field 401, a title field 402, and a body field 403. Tothe above fields, input by speech recognition or the like as well asinput using a soft keyboard is possible. When a done button 405 ispressed, mail transmission setting is completed. That is, settinginformation indicating transmission setting for mail transmission istransmitted from the mobile terminal 101 to the MFP 102. Transmissionfrom the mobile terminal 101 to the MFP 102 may be performed immediatelyafter the operation panel 301 detects pressing of the done button 405.Alternatively, as described above, transmission setting may betransmitted after processing necessary for pairing with the MFP 102 isperformed. In the first embodiment, setting information may betransmitted at any time. Pressing may include touching a touch panelscreen as well as physically pressing a button. Hereinafter, the sameapplies to the below.

Next, a screen of the MFP 102 will be described with reference to FIG.5. The MFP 102 according to the first embodiment may start one of aplurality of applications.

Starting an application includes starting an application and displayingan operation screen of the application on the operation panel 301.Furthermore, starting an application includes recovering the applicationin a suspend state and displaying an operation screen of the applicationon the operation panel 301.

That is, on the operation panel 301 of the MFP 102, an operation screenof a single application is displayed. FIG. 5 illustrates a transmissionscreen 501 which is displayed on the operation panel 301 when theabove-described mail transmission application is started. Thetransmission screen 501 is a screen for performing setting for adestination and setting for scanning.

A destination list 502 is a list of destinations set as transmissiondestinations. A destination is an address of an email, IP FAX, server,or the like. The destination list 502 illustrated in FIG. 5 indicates astate in which a transmission destination is not set. A scan settingbutton 503 is used for changing scan setting. When a detailedinformation button 505 is pressed, transition to a screen on whichdetailed information of a selected destination is displayed is made.When a delete destination button 506 is pressed, the MFP 102 deletes aselected destination. When an other settings button 507 is pressed, theMFP 102 displays a screen (not illustrated in figures) of a menu listfor change of contents for transmission. For example, edition of a mailbody and the like may be performed on a screen which is caused to appearby pressing of the other settings button 507. When a specify destinationbutton 509 is pressed, a destination may be set using an address book orthe like of the MFP 102. The MFP 102 may often be used among multipleusers, and an address book includes addresses to be used by other users.Therefore, setting a destination using an address book of the MFP 102may require time and labor. Furthermore, the display 211 of the MFP 102is usually small, and the operability of the operation panel 209 may bepoor compared to PCs or the like. Therefore, directly inputting a mailaddress to the MFP 102 may require time and labor. Thus, in the firstembodiment, with cooperation between the MFP 102 and the mobile terminal101, transmission setting from the mobile terminal 101 is applied to theMFP 102. When a specify destination from mobile device button 508 ispressed, transition to a screen for receiving mail transmission settinginformation is made, and the MFP 102 enters a standby state forperforming pairing with a mobile terminal (not illustrated in figures).

The MFP 102 may receive transmission setting from the mobile terminal101 when the specify destination from mobile device button 508illustrated in FIG. 5 is pressed and the MFP 102 enters the standbystate or when the MFP 102 is not in the standby state. For example, inthe state in which pairing between the MFP 102 and the mobile terminal101 is completed, transmission setting is transmitted at a desired time(for example, at a time when the done button 405 illustrated in FIG. 4is pressed) from the mobile terminal 101, and the MFP 102 thus receivesthe transmission setting. In contrast, in the case where the MFP 102 isnot in the standby state, for example, the MFP 102 may have started anapplication different from the mail transmission application. In such acase, if processing for starting the mail transmission application andregistering transmission setting transmitted from the mobile terminal101 is performed, setting for the different application, which iscurrently running on the MFP 102, is rejected. Thus, in the firstembodiment, in the case where the MFP 102 receives transmission settingfrom the mobile terminal 101, a running application is identified, andswitching of processing is performed according to the runningapplication. A specific process will be described with reference to FIG.6.

FIG. 6 is a flowchart illustrating a process, which is a control programexecuted by the CPU 201 when the MFP 102 receives setting informationindicating transmission setting from the mobile terminal 101. In the MFP102 according to the first embodiment, a single CPU 201 performs eachprocessing operation of the flowchart described below using a singlememory (RAM 203). However, each processing operation of the flowchartmay be performed in a different manner. For example, each processingoperations of the flowchart may be performed by cooperation of aplurality of units, the CPU, the RAM, the ROM, and the storage.

In step S611, the CPU 201 of the MFP 102 detects, through the wirelesscommunication module 206, that transmission setting informationindicating transmission setting for a mail has been received from themobile terminal 101. Transmission setting includes items such as adestination of a mail, a title, a body, a file name of a file attached,and the like. Next, in step S612, the CPU 201 identifies the type of anapplication which is currently running on the MFP 102. In the firstembodiment, a running application may be categorized into three types:the above-described mail transmission application; an application foraccepting registration of transmission setting; and other applications.A determination as to whether or not a running application is anapplication for accepting registration of transmission setting may beperformed in, for example, a method for setting in advance whichapplication accepts registration of transmission setting in the MFP 102and identifying the application by referring to the setting. A specificapplication name, version, or the like may be identified or adetermination as to whether or not a running application is anapplication for accepting registration of transmission setting may bemade according to the attributes of the application (for example, a typeof setting performed by the application).

That is, categorization in step S612 may be categorization of whether arunning application is an application which directly handles theinformation received in step S611, an application for acceptingprocessing of an application handing the received information, or anapplication for refusing processing of the received information.

In the case where it is determined, based on the determination in stepS612, that the running application is an application for acceptingregistration of transmission setting, the process proceeds to step S613.In step S613, the CPU 201 closes the currently running application, andstarts a mail transmission application, which is a differentapplication. Then, the process proceeds to step S616, and the CPU 201performs registration of the transmission setting received in step S611in the mail transmission application. Closing the currently runningapplication includes terminating the currently running application andcausing the currently running application to enter the suspend state.

That is, in a first state, a screen of the currently running applicationis being displayed as a screen of the display 211 of the MFP 102. Whenthe MFP 102 detects that transmission setting has been received from themobile terminal 101, the screen of the display 211 is switched to ascreen of a mail transmission application, which is different from thecurrently running application. Then, the switched screen is shifted to asecond state, which is a screen in which the transmission setting fromthe mobile terminal 101 is reflected. At this time, on the display 211,after a screen of the mail transmission application is displayed once,the screen may be shifted to a screen in which the transmission settingis reflected. Alternatively, a screen of the mail transmissionapplication in a state in which the transmission setting has alreadybeen reflected may be displayed. As described above, in the case wherethe currently running application is an application for acceptingregistration of transmission setting, processing for starting the mailtransmission application in response to reception of the transmissionsetting and reflecting the transmission setting is performed.

Next, in the case where it is determined, based on the determination instep S612, that the running application is a mail transmissionapplication, the process proceeds to step S614. In step S614, the CPU201 inquires of the transmission application whether or not the screenbeing displayed on the operation panel 209 is a standby screen. Thestandby screen is a screen which waits for reception of transmissionsetting and which is displayed after the specify destination from mobiledevice button 508 illustrated in FIG. 5 is touched. The standby screenis not limited to this example. For example, the state in which thescreen illustrated in FIG. 5 is being displayed may be defined as astandby screen.

In the case where the screen currently being displayed is a standbyscreen, the process proceeds to step S616, and the CPU 201 registers thetransmission setting received in step S611 with the mail transmissionapplication.

That is, processing for reflecting the received transmission setting isperformed. In contrast, in the case where it is determined in step S614that the screen currently being displayed is not a standby screen, forexample, in the case where the screen currently being displayed is ascreen for performing scan setting or the lie, the process proceeds tostep S615.

In two cases described below, the process proceeds to step S615. A firstcase is a case where it is determined, based on the determination instep S612, that the running application is neither an application foraccepting registration of transmission setting nor a mail transmissionapplication. A second case is a case where it is determined in step S614that the screen being displayed is not a standby screen. In the firstcase, if the mail transmission application is started for the purpose ofprocessing for reflecting transmission setting, abnormal terminationsuch as rejection of setting for the currently running application, mayoccur. Furthermore, in the second case, in the case where the screenbeing displayed is not a standby screen, a user may have performed othersettings in the mail transmission application. In such a case,similarly, processing for reflecting transmission setting causes settingwhich is currently being performed to be rejected. Thus, in step S615,the CPU 201 performs exception handling such as transmission of anotification of error to the mobile terminal 101. In the mobile terminal101 to which the notification of error has been transmitted, an error isdisplayed on the operation panel 301 of the mobile terminal 101 or awarning sound or the like is output. Regarding determination conditionsfor steps S612 and S614, a table to be used for determination may becreated and managed in the MFP 102.

Next, a screen of the MFP 102 displayed after transmission setting isreceived from the mobile terminal 101 will be described with referenceto FIGS. 7 to 10. Upon registering the mail transmission setting in stepS616 of FIG. 6, the MFP 102 indicates in the destination listillustrated in FIG. 5 a registered destination, as illustrated in aregistered destination screen 701 of FIG. 7.

In the case where the running application is a mail transmissionapplication or the running application is an application for acceptingregistration of transmission setting as described above, mailtransmission setting is performed in step S616 after the transmissionsetting is received. FIG. 8 illustrates an example of a screen of anapplication for accepting registration of transmission setting. FIG. 8illustrates an example of a screen of an application of a main menu ofthe MFP 102. When each button such as copy, print, or the like ispressed, an application corresponding to the pressed button is started.In the case where a scan and send button 802 is pressed, the mailtransmission application is started. In this example, it is assumed thatan application of a main menu is an application for acceptingregistration of transmission setting. In such a case, upon receiving thetransmission setting in step S611, the CPU 201 closes the currentlyrunning application of the main menu, and displays the registereddestination screen 701 illustrated in FIG. 7.

FIG. 9 illustrates an example of a setting screen 901 for setting thetype of an original document, the setting screen 901 being a screen ofthe mail transmission application. When a user selects a desired button903 from a selection group 902 and presses an enter button 904, settingis completed. However, the setting screen 901 is not a standby screen.Therefore, if transmission setting is received in this state, exceptionhandling is performed based on the determination in step S614.

FIG. 10 is a diagram illustrating an example of a copy application,which is identified as another application in step S612. FIG. 10 is adiagram illustrating a standby screen 1001 of the copy application. Alsoin this case, exception handling is performed based on the determinationin step S612. Therefore, a screen being displayed on the MFP 102 is notchanged.

As described above, according to the first embodiment, in a scene atwhich a certain application is started at an MFP when cooperationbetween a mobile terminal and the MFP is performed, setting for acurrently running application may be prevented from being lost.

Other Embodiments

The mail transmission application for attaching a scanned image obtainedby scanning an original document to a mail and transmitting the mailincluding the scanned image attached thereto has been described above byway of example. However, the present invention is not limited to this.Any application may be applicable as long as it is an application fortransmitting certain data to an external apparatus and a transmissiondestination may be set through an external terminal apparatus.Furthermore, data to be transmitted may be in a form of an attached fileor may be included in a mail body. Furthermore, data to be transmittedis not limited to a scanned image. Data stored in the MFP 102 may betransmitted.

Other Embodiments

Embodiment(s) of the present invention can also be realized by acomputer of a system or apparatus that reads out and executes computerexecutable instructions (e.g., one or more programs) recorded on astorage medium (which may also be referred to more fully as a‘non-transitory computer-readable storage medium’) to perform thefunctions of one or more of the above-described embodiment(s) and/orthat includes one or more circuits (e.g., application specificintegrated circuit (ASIC)) for performing the functions of one or moreof the above-described embodiment(s), and by a method performed by thecomputer of the system or apparatus by, for example, reading out andexecuting the computer executable instructions from the storage mediumto perform the functions of one or more of the above-describedembodiment(s) and/or controlling the one or more circuits to perform thefunctions of one or more of the above-described embodiment(s). Thecomputer may comprise one or more processors (e.g., central processingunit (CPU), micro processing unit (MPU)) and may include a network ofseparate computers or separate processors to read out and execute thecomputer executable instructions. The computer executable instructionsmay be provided to the computer, for example, from a network or thestorage medium. The storage medium may include, for example, one or moreof a hard disk, a random-access memory (RAM), a read only memory (ROM),a storage of distributed computing systems, an optical disk (such as acompact disc (CD), digital versatile disc (DVD), or Blu-ray Disc (BD)™),a flash memory device, a memory card, and the like.

According to the present invention, in cooperation between a mobileterminal and an MFP, setting for a currently running application may beprevented from being lost.

While the present invention has been described with reference toexemplary embodiments, it is to be understood that the invention is notlimited to the disclosed exemplary embodiments. The scope of thefollowing claims is to be accorded the broadest interpretation so as toencompass all such modifications and equivalent structures andfunctions.

What is claimed is:
 1. An image processing apparatus comprising: adisplay device; a scanner device; a memory device that stores a set ofinstructions; and at least one processor that executes the instructions,the instructions, when executed, cause the image processing apparatusto: receive, from a communication terminal, setting to be used in atransmission function using the scanner device, perform control toswitch screen display on the display device to a screen of thetransmission function in a case where the setting is received in a statein which a first screen that is different from the screen of thetransmission function is displayed on the display device, and control totransfer the received setting to the transmission function, and performcontrol not to switch the screen display on the display device to thescreen of the transmission function in a case where the setting isreceived in a state in which a second screen that is different from thescreen of the transmission function and is different from the firstscreen is displayed on the display device.
 2. The image processingapparatus according to claim 1, wherein the first screen is a selectionscreen for allowing a user to select a desired function from among aplurality of functions, and the second screen is a screen of a copyfunction.
 3. The image processing apparatus according to claim 1,wherein the setting includes at least one of a mail address to be usedas a data transmission destination, a body, a title, and a file name. 4.The image processing apparatus according to claim 1, wherein theinstructions, when executed, further causes the image processingapparatus to, in a case where a screen of a function different from thetransmission function is displayed when the screen display on thedisplay device is switched to the screen of the transmission function,change a state of an application that provides the different function toa suspend state, and start an application that provides the transmissionfunction.
 5. The image processing apparatus according to claim 1,wherein the instructions, when executed, further causes the imageprocessing apparatus to notify the communication terminal of an error inresponse to receiving the setting in the state in which the secondscreen is displayed on the display device.
 6. The image processingapparatus according to claim 1, wherein the first screen is a screen forestablishing a wireless connection to the communication terminal, andthe second screen is a screen of a copy function.
 7. The imageprocessing apparatus according to claim 1, wherein the setting istransmitted by using a first wireless communication method.
 8. The imageprocessing apparatus according to claim 7, wherein the instructions,when executed, further causes the image processing apparatus totransmit, to the communication terminal by using a second wirelesscommunication method, connection information for establishing aconnection for communication based on the first wireless communicationmethod.
 9. The image processing apparatus according to claim 8, whereinthe second wireless communication method is NFC (Near FieldCommunication) or Bluetooth® Low Energy.
 10. The image processingapparatus according to claim 7, wherein the instructions, when executed,further causes the image processing apparatus to display atwo-dimensional code including connection information for establishing aconnection for communication based on the first wireless communicationmethod.
 11. A method of controlling an image processing apparatus thatincludes a display device and a scanner device, the method comprising:receiving, from a communication terminal, setting to be used in atransmission function using the scanner device, performing control toswitch screen display on the display device to a screen of thetransmission function in a case where the setting is received in a statein which a first screen that is different from the screen of thetransmission function is displayed on the display device, and control totransfer the received setting to the transmission function, andperforming control not to switch the screen display on the displaydevice to the screen of the transmission function in a case where thesetting is received in a state in which a second screen that isdifferent from the screen of the transmission function and is differentfrom the first screen is displayed on the display device.
 12. Anon-transitory computer readable storage medium that stores instructionsthat, when executed by at least one processor, controls an imageprocessing apparatus that includes a display device and a scanner deviceto execute a method comprising: receiving, from a communicationterminal, setting to be used in a transmission function using thescanner device, performing control to switch screen display on thedisplay device to a screen of the transmission function in a case wherethe setting is received in a state in which a first screen that isdifferent from the screen of the transmission function is displayed onthe display device, and control to transfer the received setting to thetransmission function, and performing control not to switch the screendisplay on the display device to the screen of the transmission functionin a case where the setting is received in a state in which a secondscreen that is different from the screen of the transmission functionand is different from the first screen is displayed on the displaydevice.